package com.starter.home.service;

import com.starter.home.domain.entity.ServeOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starter.home.domain.vo.ServeOrderVO;
import com.starter.home.util.CommonParam;
import com.starter.home.util.PageUtil;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2020-05-01
 */
public interface IServeOrderService extends IService<ServeOrder> {

    PageUtil getList(Integer userId, CommonParam commonParam);

    List<ServeOrderVO> converServeOrderVO(List<ServeOrder> serveOrders);

    int updateOrder(Integer integer, int i);
}
